import type { Router } from 'vue-router';
import NProgress from 'nprogress';

export default function (router: Router) {
  router.afterEach(() => {
    NProgress.done();
  });
}
